package com.shop.shoporder.entity.order;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class GoodsComment {
    private Integer id;

    private Integer usernoId;

    private Integer productId;

    private Integer guigeId;

    private String orderNo;

    private String comment;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date commentTime;

    private Integer isDelete;

    private Integer state;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUsernoId() {
        return usernoId;
    }

    public void setUsernoId(Integer usernoId) {
        this.usernoId = usernoId;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public Integer getGuigeId() {
        return guigeId;
    }

    public void setGuigeId(Integer guigeId) {
        this.guigeId = guigeId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo == null ? null : orderNo.trim();
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment == null ? null : comment.trim();
    }

    public Date getCommentTime() {
        return commentTime;
    }

    public void setCommentTime(Date commentTime) {
        this.commentTime = commentTime;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
}